Skip to content

fix(cli): classify per-file errors in recursive uploads - #5782

Open
Yzzz88 wants to merge 2 commits into
Tencent:mainfrom
Yzzz88:fix/recursive-upload-error-codes
Open

Yzzz88 wants to merge 2 commits into
Tencent:mainfrom
Yzzz88:fix/recursive-upload-error-codes

Conversation

@Yzzz88

@Yzzz88 Yzzz88 commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Uploading my policy directory a second time yielded internal.error for both duplicates, whereas a single-file upload has a dedicated resource.already_exists classification. Apply the same classification to each failed batch item while keeping the aggregate operation failure.

Verification

go test -count=1 -run "TestUpload" ./cmd/doc in the CLI module.

@Yzzz88

Yzzz88 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Thank you for your time on this project. Regarding this change (classify per-file errors in recursive uploads), when you have a chance to review it, is there any additional context or validation you would like me to provide?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant